package cn.iocoder.yudao.module.picturebook.controller.admin.classcheckin.vo;

import cn.iocoder.yudao.module.picturebook.controller.admin.book.vo.BookRespVO;
import cn.iocoder.yudao.module.picturebook.dal.dataobject.book.BookDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;


@Schema(description = "绘本管理 - 查询所有打卡记录和展示 VO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CheckinRespAllData {

    @Schema(description = "打卡记录Id")
    private Long checkinId;

    @Schema(description = "用户Id")
    private Long userId;

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "距离现在多长时间")
    private String timeAgo;

    @Schema(description = "是否被关注(0，代表无关注，1代表未位被关注，2代表被关注)")
    private int isConcern;

    @Schema(description = "第几天打卡")
    private Integer day;

    @Schema(description = "打卡时间")
    private LocalDateTime checkinTime;

    @Schema(description = "读了几本书")
    private Integer bookCount;

    @Schema(description = "打卡心得")
    private String content;

    @Schema(description = "打卡书籍信息")
    private List<BookDO> books;
}
